package com.gitee.srurl.core.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zxw
 * @date 2023/4/26 21:57
 */
@Data
@Component
@ConfigurationProperties(prefix = "short-url.id-gen.use-type.sid")
public class SidProperties {

    private Long startYear;

    private Boolean allowClockBackwards;

    private Long workerId;
}
